package com.rain.dto.chathistory;

import com.rain.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
@EqualsAndHashCode(callSuper = true)
@Data
public class ChatHistoryQueryRequest extends PageRequest implements Serializable {


    private static final long serialVersionUID = 1L;

    private Long id;
    private String message;
    private String messageType;
    private Long appId;
    private Long userId;
    /**
     * 游标查询 - 最后一条记录的创建时间
     * 用于分页查询，获取早于此时间的记录
     */
    private LocalDateTime lastCreateTime;


}
